package com.poh.service;

import com.poh.pojo.Reply;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReplyService {
    int addReply(Reply reply);
    List<Reply> queryReplyByTopicId(int topicId);
    List<Reply> queryAllReplyByTopicId(int topicId);
    Reply queryReplyByReplyedId(int replyedId);
    int deleteReplyById(int replyId);
    List<Reply> queryReplyByUserId(int userId);
    List<Reply> queryReplyedByReplyedName(String userName);
}
